package com.ktjy.ch15.service;

import com.ktjy.ch15.entity.Video;
import com.ktjy.ch15.utils.Page;
import org.apache.ibatis.annotations.Param;

public interface VideoService {
    public Page<Video> findPage(Video video, Integer pageNo, Integer pageSize);

    public boolean save(Video video);

    public Video findById(Long id);

    public boolean update(Video video);

    public boolean delete(Long id);

    public Video findByTitle(@Param("title") String title);
}
